<?php defined('ROOT_DIR') or die('Access denied!');?>
<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="content-type" content="text/html" />
	<meta name="author" content="暮雨秋晨" />
	<meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width"/>
	<title><?php echo $title;?></title>
    <link rel="stylesheet" href="/Application/static/css/main.css" type="text/css" />
</head>
<body style="background-color: #eee;background-image: url(/Application/static/pic/bg.png);padding-left: 0.5em;">
<header style="text-align: left;margin-left: 1em;vertical-align: middle;">
<a href="http://bbs.domvc.com" style="text-decoration: none;font-size: 4em;font-weight: bold;" class="rechtman">DoBBS</a>
<span style="float: right;margin-top: 1em;font-size: 1em;margin-right: 1em;">
<a href="<?php echo $this->urlCreate('admin', 'index');?>"><button style="height: 2em;width: auto;padding: 0 3px 0;margin-right: 1em;line-height: 2em;min-width: 4em;cursor: pointer;">管理中心</button></a>
<a href="javascript:history.go(-1);"><button style="height: 2em;width: auto;padding: 0 3px 0;margin-right: 1em;line-height: 2em;min-width: 4em;cursor: pointer;">后退</button></a>
<a href="<?php echo $this->urlCreate('admin','logout');?>"><button style="height: 2em;width: auto;padding: 0 3px 0;margin-right: 1em;line-height: 2em;min-width: 4em;cursor: pointer;">注销</button></a>
</span>
</header>
<h1><?php echo $forum['name'];?> - 增加版块</h1>
<form action="" method="post">
<label for="name">版块名称</label>
<input type="text" id="name" name="name" style="margin: 1em;display: block;" />
<span style="display: block;margin: 3px 1em 3px;color: red;"><?php echo $tip;?></span>
<input type="submit" name="submit" value="提交" style="margin: 1em;display: block;width: 64px;height: 24px;margin-left: 3em;" />
</form>
<hr style="clear: both;height: 1px;margin: 6px 0 0 0;padding: 0;" />
<footer style="width: 100%;background-color: #d1d1d1;height: 18px;font-size: 12px;margin: 0;text-align: center;line-height: 18px;">&copy;<a href="http://www.doubear.com">Doubear</a> Driven by <a href="http://www.domvc.com">DoMVC</a> framework</footer>
</body>
</html>